<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>主页</title>
</head>
<body>
<h1>
    WELCOME SHIRO
</h1>
<label style="color:red" th:text="${msg}" >提示信息</label><br>
    <form th:action="@{/common/login}" method="post">
        <input type="text" name="userName"  placeholder="请输入用户名或ID" >
        <input type="password" name="userPass"  placeholder="请输入密码">
        <input type="submit">
    </form>
<a  th:href="@{/goRegist}">
    没有账户?去注册一个吧~
</a >
</body>
</html>